<template>
    <div>
        <h5>调用参数说明</h5>

        <sky-table :data="data" :columns="columns" :show-index="true" :show-pagination="false"></sky-table>
    </div>
</template>


<style scoped>

</style>


<script>
export default {
    name: 'OriginParams',
    data() {
        return {
            columns: [
                {
                    title: '名称',
                    key: 'name'
                },
                {
                    title: '类型',
                    key: 'type'
                },
                {
                    title: '是否必填',
                    key: 'require'
                },
                {
                    title: '描述',
                    key: 'description'
                }
            ],
            data: [
                {
                    name: 'dtype',
                    type: 'STRING',
                    require: '可选',
                    description: '返回数据格式：json或xml，默认json'
                },
                {
                    name: 'keyword',
                    type: 'STRING',
                    require: '必填',
                    description: '查询关键字'
                },
                {
                    name: 'province',
                    type: 'STRING',
                    require: '必填',
                    description: '查询省份'
                }
            ]
        }
    }
}
</script>
